```typescript index.ts
import { OpenBankingAccountAndTransaction } from 'open-banking-account-and-transaction-typescript-sdk';

const openBankingAccountAndTransaction = new OpenBankingAccountAndTransaction({
    // OAuth flow, it is required when the PSU needs to perform SCA with the ASPSP when a TPP wants to access an ASPSP resource owned by the PSU
    clientId: "CLIENT_ID",
    clientSecret: "CLIENT_SECRET",
    redirectUri: "REDIRECT_URI",
    // TPP client credential authorisation flow with the ASPSP
    // clientId: "CLIENT_ID"
    // clientSecret: "CLIENT_SECRET"
})
```